﻿/*include:js\floatCenter*/
var DeleteAlert=DeleteAlert||{};
fastCSharp.Copy(DeleteAlert,{
Show:function(Title,Content,Callback,OnCancel)
	{
	var Alert=fastCSharp.FloatCenters.deleteAlert;
	Alert.SkinView.Title=Title||'删除确认';
	Alert.SkinView.Content=Content;
	this.Callback=Callback;
	this.OnCancel=OnCancel;
	Alert.Show();
	},
Cancel:function()
	{
	fastCSharp.FloatCenters.deleteAlert.Hide();
	if(this.OnCancel)	this.OnCancel();
	},
Delete:function()
	{
	fastCSharp.FloatCenters.deleteAlert.Hide();
	if(this.Callback)	this.Callback();
	}
		});
